<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	xmlns:p="http://primefaces.org/ui">

<ui:composition>
	<h:panelGroup id="panelFormulario" layout="block" styleClass="form-horizontal">
		<!--  id -->
		<h:panelGroup layout="block" styleClass="form-group"
			rendered="#{pManagedBean.isModoDebug}">
			<h:panelGroup layout="block" styleClass="col-md-12">
				<h:outputLabel for="id" value="Id"
					styleClass="col-sm-2 control-label" />
				<div class="col-sm-10">
					<p:inputText disabled="true" id="id" title="Id do objeto"
						label="Id" styleClass="form-control"
						value="#{pManagedBean.objetoPrincipal.entityId}" required="true"
						placeholder="id" />
				</div>
				<p:message for="id" />
			</h:panelGroup>
		</h:panelGroup>

		<ui:insert name="camposDoFormulario">Insira o conteudo do formulário aqui </ui:insert>
		
	</h:panelGroup>
	<ui:insert name="demaisInfosAntesDosBotoesDoFormulario" />
</ui:composition>

</html>